package org.example.projecttwo.entity.dto.common;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
@Schema(name = "BatchUpdateUserStatusDTO", description = "批量更新用户状态DTO")
public class BatchUpdateUserStatusDTO {

    @Schema(description = "用户ID列表")
    @NotNull(message = "用户ID列表不能为空")
    @NotEmpty(message = "用户ID列表不能为空")
    private List<Long> ids;

    @Schema(description = "状态值 0-启用 1-禁用 2-冻结")
    @NotNull(message = "状态值不能为空")
    private Integer status;
}